@import "~@/app";
.detailContainer {
  margin: 0 auto;
  .detailContentBox {
    background-color: #fff;
    .detailContent {
      width: @effectiveWidth;
      height: 360px;
      margin: 0 auto;
      padding-top: 20px;
      .detailImg {
        width: 548px;
        height: 314px;
        float: left;
        margin-right: 12px;
        overflow: hidden;
        cursor: pointer;
        background: #D8D8D8;
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
        }
        &:hover {
          img {
            transform: scale(1.2);
            transition: all .5s;
          }
        }
      }
      .detailInfo {
        width: 514px;
        float: right;
        .detailTitle {
          font-size: 22px;
          margin-bottom: 0;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #333333;
        }
        .classHour {
          width: 52px;
          height: 22px;
          border: 1px solid #1D83FF;
          text-align: center;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #1D83FF;
          display: inline-block;
          margin-top: 15px;
          margin-bottom: 19px;
        }
        .classHour:not(:first-of-type) {
          margin-left: 10px;
        }
        .classHourText {
          display: inline-block;
          font-size: 12px;
          -webkit-text-size-adjust:none;
          -webkit-transform : scale(0.83,0.83) translateY(-1px);
        }
        .detailTeacher {
          font-size: 14px;
          margin-bottom: 0;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #333333;
        }
        .detailBuy {
          margin-top: 22px;
          width: 100%;
          height: 42px;
          border: 1px solid #F2F2F2;
          font-size: 12px;
          font-family: PingFangSC-Regular, PingFang SC;
          font-weight: 400;
          color: #999999;
          line-height: 42px;
          padding-left: 16px;
        }
        .detailCount {
          margin-top: 23px;
          width: 100%;
          height: 42px;
          border: 1px solid #F2F2F2;
          font-size: 20px;
          font-family: PingFangSC-Medium, PingFang SC;
          font-weight: 500;
          color: #EE2F37;
          line-height: 42px;
          padding-left: 16px;
        }
        .buttonBuy {
          width: 286px;
          height: 54px;
          background: #1D83FF;
          border-radius: 5px;
          padding-top: 0;
          margin: 20px 0 0 0;
          font-size: 20px;
          font-family: PingFang-SC-Medium, PingFang-SC;
          color: #FFFFFF;
          line-height: 54px;
          letter-spacing: 2px;
        }
        .buttonShoppingCar {
          width: 210px;
          height: 54px;
          background: #fff;
          border-radius: 5px;
          padding-top: 0;
          margin: 20px 0 0 0;
          font-size: 20px;
          font-family: PingFang-SC-Medium, PingFang-SC;
          color: #1D83FF;
          border: 1px solid #1D83FF;
          line-height: 54px;
          letter-spacing: 2px;
          float: right;
        }
      }
    }
  }
}